package wei.xinya.core.inheritance;

public class Animal {
	private String name;
	private int id;
	String getName() {
		return name;
	}
	void setName(String name) {
		this.name = name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public void move() {
		System.out.println("动物可以移动");
	}

	public Animal() {
	}

	public void test(String name ){
		System.out.println("animal name: " + name);
	}
	String test(String name,String test){
		return "test123";
	}
}
